home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15729 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 6 Apr 1996 22:04:36 -0500
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.828846122@schonberg>
  8. References: <JSA.96Feb16135027@organon.com> <emery-0204960656230001@line030.nwm.mindlink.net> <828632277snz@genesis.demon.co.uk> <dewar.828704810@schonberg> <4k3utg$ndp@solutions.solon.com> <dewar.828757752@schonberg> <828825929snz@genesis.demon.co.uk>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. "Well, POSIX is IEEE standard 1003. I don't think SPEC1170 and XPG are
  13. national/international standards but are something you have to conform to
  14. if you want to call your OS UNIX(tm).
  15. "
  16.  
  17. This is plain wrong! There are lots of unixes out there that call themselves
  18. UNIX and do not conform exactly to SPEC1170.
  19.  
  20. Consider for example, also answering your question about ANSI being
  21. a misleadng guide to portability, the return type of sprintf. I don't
  22. have SPEC1170 on hand, but it is a good guess that it is ANSI compliant
  23. here (return type int), but BSD heritage unices (like SunOS) return
  24. char *.
  25.  
  26. "have to conform to"
  27.  
  28. and prey who enforces this rule?
  29.  
  30.